<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><%= (!strTitle ? "" : strTitle + " - ") + theCache.settings["blogTitle"] %></title>
    <meta name="robots" content="follow,index"/>
    <link rel="stylesheet" type="text/css" href="/public/<%= theCache.settings["styleSheet"] %>" />
    <link rel="alternate" type="application/rss+xml" title="<%= helper.HTMLEncode(theCache.settings["blogTitle"]) %>"
          href="<%= theCache.settings["baseURL"] %>feed.asp"/>
    <script type="text/javascript" language="javascript" src="/public/common.js"></script>
</head>

<body>
<div id="wrapper">
    <div id="innerWrapper">
        <% if(siteClosed == true){ %>
            <div style="border: solid 1px #CC0000; text-align: center; background: #FFEEDD;color: #990000">Site is
                Currently Closed
            </div>
        <% } %>
        <div id="header">
            <div id="innerHeader">
                <div id="blogLogo"><img src="/public/<%= theCache.settings["logoImage"] %>" id="logo" alt="Logo"/></div>
                <div class="blog-header">
                    <h1 class="blog-title"><a href="<%= theCache.settings["baseURL"] %>"><%= helper.HTMLEncode(
                                    theCache.settings["blogTitle"]) %></a></h1>
                    <div class="blog-desc"><%= helper.HTMLEncode(theCache.settings["blogDescription"]) %></div>
                </div>
                <div id="menu">
                    <ul>
                        <li><a href="default.asp"><%= __("index") %></a></li>
                        <li><a href="default.asp?selected=true"><%= __("selected") %></a></li>
                        <li><a href="gbook.asp"><%= __("guestbook") %></a></li>
                        <li><a href="javascript:showHideSidebar()"><%= __("toggle_sidebar") %></a></li>
                        <% if(!theUser.loggedIn){ %>
                            <li><a href="javascript:showLogin()"><%= __("login") %></a></li>
                        <% } %>
                    </ul>
                </div>
            </div>
        </div>
